/** Draws a dot cloud with same number of dots at each depth.
    Done by approximation, ensure number of areas is high enough to get a
    good approximation.

    DCN 27-06-2010
*/

#pragma once
#include "StimDot.h"
class CStimDotCloud :
    public CStimDot
{
public:
    CStimDotCloud(const enum Stims::ObjType& eObjType_ = Stims::GLpoint);
    virtual ~CStimDotCloud(void);

    // other
    virtual std::string GetName ();

protected:
    double          ComputeSlice(const double& dDepth_,const int& nIdx_);
    void            SamplePoint(const double& dRadiusZ_, CMatrix<double>& mPoint_);
    inline bool     InsideFrustumDerived(const CMatrix<double>& mOriginPoint_) {return true;};
};

